package cn.watson.org.service;

import cn.watson.org.domain.Shop;
import cn.watson.basic.service.IBaseService;
import cn.watson.org.domain.ShopAuditLog;

import javax.mail.MessagingException;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author watson
 * @since 2022-07-01
 */
public interface IShopService extends IBaseService<Shop> {
    // 店铺入驻接口
    void settlement(Shop shop);

    // 驳回
    void reject(ShopAuditLog shopAuditLog) throws MessagingException;
    // 通过
    void pass(ShopAuditLog shopAuditLog);
    // 拒绝通过
    void toPas(ShopAuditLog shopAuditLog);

    Map<String, Object> loadEcharts();

    // 批量添加
    void bulkAdd(List<Shop> list);
}
